#include "Bone.h"

Bone::Bone()
{
	m_IsRoot = false;
	m_Parent = nullptr;
}

Bone::Bone(Bone* Parent, std::vector<Bone*>& Children, bool IsRoot, const std::string& Name)
{
	m_Children = Children;
	m_IsRoot = IsRoot;
	m_Name = Name;
	m_Parent = Parent;
}

void Bone::AddChild(Bone* NewChild)
{
	m_Children.push_back(NewChild);
}

bool Bone::ReturnRootState()
{
	return m_IsRoot;
}